import request from '../utils/request'
export const apiGetTopics = params => 
    request({
        url:'/api/v1/topics',
        method: 'get',
        params
    })


export const login = (data) =>
    request({
        url: '/api/login',
        method: 'post',
        data
    })
export const apiGetHomeBuddles = (params) =>
    request({
        url:'/api/product/bundle/list',
        method:'get',
        params
    })
    
export const apiGetMessageList = (params) =>
    request({
        url:'/api/i18nMessage/list',
        method:'get',
        params
    })
    
export const apiGetMessageInfo = (params) =>
    request({
        url:'/api/i18nMessage/info',
        method:'get',
        params
    })